package com.flitsneak.designpatterns.structuralpatterns.bridge.refinedabstraction;

import com.flitsneak.designpatterns.structuralpatterns.bridge.Interflow;
import com.flitsneak.designpatterns.structuralpatterns.bridge.Preference;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/7/12 16:05
 * @description
 */
public class ArdentlyLove extends Preference {

    public ArdentlyLove(Interflow interflow) {
        super(interflow);
    }

    @Override
    public void communicate(String s) {
        s = "热爱的"+s;
        super.communicate(s);
    }
}
